package com.bawei.mall.product.domain.model;

import java.util.List;

/**
 * @author 柏上家
 * @version 1.0.0
 * @ClassName RuleAttrModel.java
 * @Description TODO
 */
public class RuleAttrModel {

    private String ruleType;

    private List<String> ruleAttrList;

    private String ruleAttrStr;

    public String getRuleType() {
        return ruleType;
    }

    public void setRuleType(String ruleType) {
        this.ruleType = ruleType;
    }

    public List<String> getRuleAttrList() {
        return ruleAttrList;
    }

    public void setRuleAttrList(List<String> ruleAttrList) {
        this.ruleAttrList = ruleAttrList;
        if (this.ruleAttrList != null){
            this.ruleAttrStr = this.ruleAttrList.toString();
        }
    }

    public String getRuleAttrStr() {
        return ruleAttrStr;
    }
}
